home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / Money-Money.swf / scripts / frame_5 / PlaceObject2_60_20 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2005-08-19  |  315 b   |  14 lines

  1. onClipEvent(enterFrame){
  2.    if(oldtimer == undefined)
  3.    {
  4.       oldtimer = getTimer();
  5.       lanciaOggetto();
  6.    }
  7.    checkTimer = getTimer() > oldtimer + (1000 - _root.prese * 2);
  8.    if(checkTimer == true && _root.gamestopped == false)
  9.    {
  10.       oldtimer = getTimer();
  11.       lanciaOggetto();
  12.    }
  13. }
  14.